package com.hjxy.codetools.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloDockerController {
    @GetMapping("/hello")
    public String hello() {
        return "hello docker!";
    }

    @GetMapping("/hello2")
    public String hello2() {
        return "hello2 docker!";
    }
}
